/status/app/proxy/virtualServer//serviceHttp/hostnames

The nodes below this one perform the functions described in this function overview.

Use

Use to view the configured host names that the virtual server responds to.

Parameters

name: Name of virtual server object

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/app/proxy/virt ualServer/vs1/serviceHttp/hostnames

GET Response

{"/status/app/proxy/virtualServer/vs1/serviceHttp/hostnames": {"data": None,
                                                                  "default": False,
                                                                  "defaultAllowed": False,
                                                                  "deleteAllowed": False,
                                                                  "numChildren": 1,
                                                                  "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/app/proxy/virtualServer/vs1/serviceHttp/hostnames"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/app/proxy/virt ualServer/vs1/serviceHttp/hostnames?op=list

GET Response

{"/status/app/proxy/virtualServer/vs1/serviceHttp/hostnames": {"children": 
        {"/status/app/proxy/virtualServer/vs-01/serviceHttp/hostnames/host-1": {"default": False,
                                                                                "defaultAllowed": False,
                                                                                "deleteAllowed": True,
                                                                                "numChildren": 0,
                                                                                "type": "string"}},
                                                                  "default": False,
                                                                  "defaultAllowed": False,
                                                                  "deleteAllowed": False,
                                                                  "numChildren": 1,
                                                                  "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/app/proxy/virtualServer/vs1/serviceHttp/hostnames"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/app/proxy/virt ualServer/vs1/serviceHttp/hostnames?level=recurse

  1. /status/app/proxy/virtualServer//serviceHttp/hostnames 1. Parameters
    1. Data Type 2. Request Methods 3. Related 4. Examples